﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="HomeSalon.ascx.vb" Inherits="FrontEnd_Control_Oto_HomeSalon" %>
<%@ Register Assembly="HighslideImage" Namespace="Encosia" TagPrefix="encosia" %>
   <encosia:HighslideManager ID="HighslideManager1" runat="server" OutlineType="RoundedWhite" />
<script type="text/javascript">
function ajaxJquery(){
    $(function () {
        $(".box-item").click(function () {
            window.location.href = $(this).find("a").attr("href");
            return false;
        });

        $('.ImgThumb').click(function () {

            var CureImgURL = $(this).attr("src").replace("90-60", "");

            $(".SalonBigImage a img").each(function () {
                var ImgURL = $(this).attr("src").replace("420-300", "");

                if (ImgURL == CureImgURL) {
                    $(this).attr("style", "display:inline");
                }
                else {
                    $(this).attr("style", "display:none");
                }
            });
        });

    });
    }
</script>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>

<div class="box_conrent_main">
    <div class="bgtitle_conrent_main">
        <div class="title_viewsinfo"><asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink></div>
    </div>

   <div class="content_main">
        <div style="padding:10px;float:left;">
       <%-- <div><b>Địa chỉ:</b> <asp:Literal ID="ltrDiaChi" runat="server"></asp:Literal></div>
        <div><b>Điện thoại:</b> <asp:Literal ID="ltrDienThoai" runat="server"></asp:Literal></div>--%>
        <div><asp:Literal ID="ltrDescription" runat="server"></asp:Literal></div>
        </div>
    </div>
</div>

<div class="SalonImage">
    <div class="SalonBigImage">
                     <asp:Repeater ID="rptBigBanner" runat="server">
                        <ItemTemplate>
                                <encosia:HighslideImage ID="HighslideImage1" runat="server" Caption="" ImageUrl="" FullImageUrl="" />
                        </ItemTemplate>
                     </asp:Repeater>
    </div>
    <div class="SalonBigImageThumb">
        <asp:Repeater ID="rptImageThumb" runat="server">
            <ItemTemplate>
                <span>
                    <asp:Image ID="imgThumb" runat="server" CssClass="ImgThumb" />
                </span>
            </ItemTemplate>
        </asp:Repeater>
    
    </div>
        
</div>
<div class="box_porletmain_ListByCat">
    <!--row tab porlet -->

    <!-- end row tab porlet -->
    <!-- mid porlet content -->
    <div class="bgmid_midporlet_ListByCat">
        <div class="box_contentlist_ListByCat">
            <!-- tab title list -->
            <div class="tab_titlelist">
                <ul>
                    <li class="active_tab"><a href=""><span>DANH SÁCH XE ĐANG BÁN</span></a></li>
                </ul>
                <div class="text_sumlist"></div>
            </div>
            <!-- end tab title list -->
             <div class="floor">

            <div class="list-product-floor">

                <asp:Repeater ID="rptProduct" runat="server">
                    <ItemTemplate>
                    <div  class="small-item">
                        <div class="box-item">
                                 <div class="title_product_salon"><asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink></div>
                                <div class="lifeline_product"><asp:Literal runat="server" ID="ltrTinhTrangXe"></asp:Literal></div>
                        
                                     <p class="thumb-imgpromain">
                                           <asp:Image ID="imgProduct" runat="server"  />
                                    </p>
                        
                                     <p class="title-promain"><asp:Literal runat="server" ID="ltrMaTin"></asp:Literal></p>
                   
                                                    
                                      <p class="note-infopro">
                                           
                                            <div class="desc_product">
                                                <asp:Literal runat="server" ID="ltrDescription"></asp:Literal>
                                            </div>
                                        </p>
                                                    
                                    <p class="price-promain">
                                     <b>Giá:<asp:Literal ID="ltrPrice" runat="server"></asp:Literal></b>
                                        <div class="USDHome"><asp:Literal ID="ltrUSD" runat="server" /></div>
                                        
                                            <span><asp:Literal ID="ltrPriceUSD" runat="server"></asp:Literal> </span><br>

                                    <div class="info_product" style="display:none"> 
                                       Liên hệ: <asp:Literal ID="ltrLienHe" runat="server"></asp:Literal>
                                        <br>
                                        ĐT: <span><asp:Literal ID="ltrTelephone" runat="server"></asp:Literal></span>
                                    </div>
                                                            
                                    </p>
                                 <div class="cell_3" style="display:none"> 
                                        <div class="lifeline_product">
                                            <asp:Literal id="ltrTinhThanh" runat="server"></asp:Literal>
                                        </div>
                                 </div>
                        </div>
                    </div>
                    </ItemTemplate>
                </asp:Repeater>        
                
            </div>
            </div>
          <%--<div class="list-product-floor">
                <asp:Repeater ID="Repeater1" runat="server">
                    <ItemTemplate>
                        <!--thum product -->
                        <div class="small-item">
                            <div class="box-item">
                                <p class="thumb-imgpromain">
                                    <asp:HyperLink ID="hplImage" runat="server">
                                        <asp:Image runat="server" border="0" Width="140px" Height="120px" align="absmiddle"
                                            ID="imgProduct" />
                                    </asp:HyperLink>
                                </p>
                                <p class="title-promain">
                                    <asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink></p>
                                <p class="note-infopro">
                                    H07- SP</p>
                                <p class="price-promain">
                                    Giá :
                                    <asp:Label ID="lblPrice" runat="server" />
                                </p>
                                <div class="saleoff">
                                    <div class="text-saleoff">
                                        Sale
                                        <asp:Label ID="lblOriPrice" runat="server" Text=""></asp:Label></div>
                                </div>
                            </div>
                        </div>
                        <!--end thum product -->
                    </ItemTemplate>
                </asp:Repeater>
            </div>--%>
                       
                             <div class="row_paging_ListByCat">
                                <!--phan trang-->
                                <div class="text_sumbottom">Tổng : <asp:Label ID="lblTotal2" runat="server" Text="0"></asp:Label></div>

                                <div id="results_resultsNavigationDiv" class="pagination">
                                    <ul>
                                        <asp:LinkButton ID="lnkFirst" runat="server" CssClass="nextpage"><<</asp:LinkButton>
                                        <asp:Repeater ID="rptPage" runat="server">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lnkTitle" runat="server" OnClick="lnkTitle_Click"></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <asp:LinkButton ID="lnkLast" runat="server" CssClass="nextpage">>></asp:LinkButton>
                                    </ul>
                                </div>
                                <asp:HiddenField ID="hidCount" Value="0" runat="server" />
                                <asp:HiddenField ID="hidIndex_page" Value="0" runat="server" />
                                <asp:HiddenField ID="hidCur_Page" Value="1" runat="server" />
                                <asp:HiddenField ID="hidStoreId" Value="0" runat="server" />
                                 
                            </div>
            
            

        </div>
    </div>

</div>

<%--<div class="box_porletmain_ListByCat">
  
    <div class="bgmid_midporlet_ListByCat">
        <div class="box_contentlist_ListByCat">
            
            <div class="tab_titlelist">
                <ul>
                    <li class="active_tab"><a href=""><span>DANH SÁCH XE ĐANG BÁN</span></a></li>
                </ul>
                <div class="text_sumlist">
                    Tổng : <asp:Label ID="lblTotal" runat="server" Text="0"></asp:Label></div>
            </div>
            
                <asp:Repeater ID="rptProduct" runat="server">
                    <ItemTemplate>
                    <div class="row_listveiwe_ListByCat">
                    <div class="cell_1">
                          <div class="lifeline_product"><asp:Literal runat="server" ID="ltrTinhTrangXe"></asp:Literal></div>
                        
                            <div class="thumb_imgproduct">
                                   <asp:Image ID="imgProduct" runat="server" />
                            </div>
                        
                             <div class="lifeline_product"><asp:Literal runat="server" ID="ltrMaTin"></asp:Literal></div>
                    </div>
                                                    
                         <div class="cell_2">
                                <div class="title_product"><asp:HyperLink ID="hplTitle" runat="server"></asp:HyperLink></div>
                                <div class="desc_product">
                                    <asp:Literal runat="server" ID="ltrDescription"></asp:Literal>
                                </div>
                        </div>
                                                    
                        <div class="cell_3">
                            <div class="address_product"></div>
                             <div class="price_product"><asp:Literal ID="ltrPrice" runat="server"></asp:Literal></div>
                                <div class="USDHome"><asp:Literal ID="ltrUSD" runat="server" /></div>
                                <div class="info_product">
                                    <span><asp:Literal ID="ltrPriceUSD" runat="server"></asp:Literal> </span><br>
                                Liên hệ: <asp:Literal ID="ltrLienHe" runat="server"></asp:Literal>
                                <br>
                                ĐT: <span><asp:Literal ID="ltrTelephone" runat="server"></asp:Literal></span>
                            </div>
                                                            
                        </div>
                         <div class="cell_3">
                                <div class="lifeline_product">
                                    <asp:Literal id="ltrTinhThanh" runat="server"></asp:Literal>
                                </div>
                         </div>

                    </div>
                    </ItemTemplate>
                </asp:Repeater>          
                             <div class="row_paging_ListByCat">
                                
                                <div class="text_sumbottom">Tổng : <asp:Label ID="lblTotal2" runat="server" Text="0"></asp:Label></div>

                                <div id="results_resultsNavigationDiv" class="pagination">
                                    <ul>
                                        <asp:LinkButton ID="lnkFirst" runat="server" CssClass="nextpage"><<</asp:LinkButton>
                                        <asp:Repeater ID="rptPage" runat="server">
                                            <ItemTemplate>
                                                <asp:LinkButton ID="lnkTitle" runat="server" OnClick="lnkTitle_Click"></asp:LinkButton>
                                            </ItemTemplate>
                                        </asp:Repeater>
                                        <asp:LinkButton ID="lnkLast" runat="server" CssClass="nextpage">>></asp:LinkButton>
                                    </ul>
                                </div>
                                <asp:HiddenField ID="hidCount" Value="0" runat="server" />
                                <asp:HiddenField ID="hidIndex_page" Value="0" runat="server" />
                                <asp:HiddenField ID="hidCur_Page" Value="1" runat="server" />
                                <asp:HiddenField ID="hidStoreId" Value="0" runat="server" />
                                 
                            </div>
            
            

        </div>
    </div>

</div>--%>


</ContentTemplate>
</asp:UpdatePanel>